FROM pubrepo.jiagouyun.com/datakit/datakit:1.5.7

# RUN pip install snmpsim -i https://mirrors.aliyun.com/pypi/simple/

# RUN adduser --system snmpsim

ADD pyroscope /usr/local/pyroscope/pyroscope
ADD run.sh /usr/local/share/run.sh

# EXPOSE 161/udp

CMD ["/bin/bash", "-c", "/usr/local/share/run.sh"]
